﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace HF.WorkFlow.DataContract
{
    /// <summary>
    /// 流程提醒事件配置的数据契约
    /// </summary>
    /// <remarks>描述流程提醒事件配置的数据契约</remarks>
    [DataContract]
    public class WorkFlowRemindEventEntity
    {
        /// <summary>
        /// 事件Id
        /// </summary>
        [DataMember]
        public string RemindEventId { get; set; }
        /// <summary>
        /// 流程模板Id
        /// </summary>
        [DataMember]
        public string WorkFlowId { get; set; }
        /// <summary>
        /// 任务模板Id
        /// </summary>
        [DataMember]
        public string WorkTaskId { get; set; }
        /// <summary>
        /// 任务超时,短消息提醒开关
        /// </summary>
        [DataMember]
        public bool OutTimeSms { get; set; }
        /// <summary>
        /// 任务超时,及时消息提醒开关 QQ，msn,ocs
        /// </summary>
        [DataMember]
        public bool OutTimeMsg { get; set; }
        /// <summary>
        /// 任务超时,邮件提醒开关
        /// </summary>
        [DataMember]
        public bool OutTimeEmail { get; set; }
        /// <summary>
        /// 任务到达，手机短消息提醒开关。
        /// </summary>
        [DataMember]
        public bool ReceiveSms { get; set; }
        /// <summary>
        /// 任务到达，及时消息提醒开关.
        /// </summary>
        [DataMember]
        public bool ReceiveMsg { get; set; }
        /// <summary>
        /// 任务到达，邮件提醒开关。
        /// </summary>
        [DataMember]
        public bool ReceiveEmail { get; set; }
        /// <summary>
        /// 任务超时同时提交给某人。
        /// </summary>
        [DataMember]
        public string OutTimeToUsers { get; set; }
        /// <summary>
        /// 到达通知人
        /// </summary>
        [DataMember]
        public string ReceiveToUsers { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DataMember]
        public string Description { get; set; }
    }
}
